View Issue Details

IDProjectCategoryView StatusLast Update
0001902T99X171.00 SKB EagleSWpublic2024-03-11 12:34
Reporter(ALTech) Sangmin Choi Assigned To(ALTech) Sangmin Choi Due Date
PrioritynormalSeveritys4-minorReproducibilityalways
Status closedResolutionfixed 
Summary0001902: ZemKids application can't be updated after firmware upgrade.
Description15.542.16 has r338 ZemKids apk.
BFX-AT100:/ # dumpsys package com.skb.zemkids | grep -i version
    versionCode=338 minSdk=28 targetSdk=31

15.542.18 has r339 ZemKids apk.
BFX-AT100:/ # dumpsys package com.skb.zemkids | grep -i version
    versionCode=339 minSdk=28 targetSdk=31

When the firmware is upgraded from 15.542.16 to 15.542.18, the ZemKids application can't be updated.
The ZemKids application's version is r338 after upgrade to 15.542.18.
At that time, if I do the factory reset or "pm uninstall com.skb.zemkids", then the ZemKids has installed as r339.
So, the 15.542.18 firmware has r339 ZemKids apk, but it wasn't be updated correctly.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

Activities

(ALTech) Sangmin Choi

2024-03-11 09:49

developer   ~0015229

Hello, Jason,

Could you please check this issue?
I think following commit may impact this issue.

$ cd vendor/foxconn
$ git show f7ef7d3abfdb5b30630ec8c9f3b8e9a658040ac4
commit f7ef7d3abfdb5b30630ec8c9f3b8e9a658040ac4
Author: Jason Ling <jason.tf.ling@fii-foxconn.com>
Date: Mon Jan 15 14:12:40 2024 +0800

    [FSTB12-135] Move ZemKids-Stub to /system/priv-app

diff --git a/ZemKids-Stub/Android.mk b/ZemKids-Stub/Android.mk
index 9f7800d..c8ee820 100644
--- a/ZemKids-Stub/Android.mk
+++ b/ZemKids-Stub/Android.mk
@@ -9,7 +9,7 @@ LOCAL_MODULE_TAGS := optional
 LOCAL_SDK_VERSION := current
 LOCAL_PROGUARD_ENABLED := disabled
 LOCAL_DEX_PREOPT := false
-LOCAL_MODULE_PATH := $(TARGET_OUT)/app
-LOCAL_AAPT_FLAGS += --version-name 1.0.0 --version-code 1
+LOCAL_PRIVILEGED_MODULE := true
+LOCAL_AAPT_FLAGS += --version-name 1.0.0 --version-code 336
 include $(BUILD_PACKAGE)

diff --git a/ZemKids-Stub/AndroidManifest.xml b/ZemKids-Stub/AndroidManifest.xml
index 0d45ee5..84c1bfe 100644
--- a/ZemKids-Stub/AndroidManifest.xml
+++ b/ZemKids-Stub/AndroidManifest.xml
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.skb.zemkids"
- android:sharedUserId="android.uid.system" >
+ package="com.skb.zemkids" >

     <application
         android:allowBackup="true"

Thank you.
Sangmin Choi.

(ALTech) Sangmin Choi

2024-03-11 12:34

developer   ~0015230

Hello, Jason,

This issue was gone after apply following commit.

commit 3830a8112bc859e0bd3059756bcabb2bb8a0147b (HEAD, skb/BFX-AT100_5.4.2, m/BFX-AT100_5.4.2)
Author: Jason Ling <jason.tf.ling@fii-foxconn.com>
Date: Mon Mar 11 10:23:30 2024 +0800

    [BPM-29818] Force version-code of ZemKids-Stub as 1. the version-code of ZemKids-Stub was determined during build time
    (According to version of ZemKids)

Thank you.
Sangmin Choi.

Issue History

Date Modified Username Field Change
2024-03-11 09:46 (ALTech) Sangmin Choi New Issue
2024-03-11 09:49 (ALTech) Sangmin Choi Note Added: 0015229
2024-03-11 09:49 (ALTech) Sangmin Choi Assigned To => (SW) Jason Ling
2024-03-11 09:49 (ALTech) Sangmin Choi Status new => assigned
2024-03-11 09:49 (ALTech) Sangmin Choi Issue Monitored: (ALTech) Younkwang Jung
2024-03-11 09:49 (ALTech) Sangmin Choi Issue Monitored: (ALTech) JunGyu Kim
2024-03-11 09:49 (ALTech) Sangmin Choi Issue Monitored: (ALTech) Wooshin Kang
2024-03-11 12:34 (ALTech) Sangmin Choi Note Added: 0015230
2024-03-11 12:34 (ALTech) Sangmin Choi Assigned To (SW) Jason Ling => (ALTech) Sangmin Choi
2024-03-11 12:34 (ALTech) Sangmin Choi Status assigned => closed
2024-03-11 12:34 (ALTech) Sangmin Choi Resolution open => fixed